<%
String c_head="#BDC9EF";
String c_body="#ECF5FE";
String c_border="#FFFFFF";
String c_word="#0454A9";
String c_style="style='border-collapse:collapse' border=1 bordercolor=#FFFFFF";
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <title></title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />    
<link href="public/gs_css.css" rel="stylesheet" type="text/css">
  </head>
  
<script language=VBScript>

Function bytes2BSTR(vIn)
    strReturn = ""
    For i = 1 To LenB(vIn)
        ThisCharCode = AscB(MidB(vIn,i,1))
        If ThisCharCode < &H80 Then
            strReturn = strReturn & Chr(ThisCharCode)
        Else
            NextCharCode = AscB(MidB(vIn,i+1,1))
            strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))
            i = i + 1
        End If
    Next
    bytes2BSTR = strReturn
End Function
function mytrim(str1)
str2=trim(str1)
mytrim=replace(str2,vbcrlf,"")
end function
function getaddress(var1)
var2=var1
	while instr(var2,"/")
var2=right(var2,len(var2)-instr(var2,"/"))
wend
getaddress=left(var1,len(var1)-len(var2))
end Function
'XmlHttp.Open "GET", document.location.href, false 

</script>

<script language="javascript">
function gs_submit(str1)
{
try
{
	//alert("1");
 objXMLHTTP = new ActiveXObject("Microsoft.XMLHTTP"); 
 var local=getaddress(document.location.href);

objXMLHTTP.Open ("post", local+str1, false );

objXMLHTTP.setRequestHeader("Content-Type","text/XML" );

objXMLHTTP.Send() ;


var text1=bytes2BSTR(objXMLHTTP.ResponseBody);
text1=mytrim(text1);
return text1;
}
catch(e1)
{
//alert(e1);
}
}//function


function gs_setvalue(name1,value1)
{
while(value1.indexOf("vbcrlf")!=-1)
value1=value1.replace("vbcrlf","\n");
while(value1.indexOf("vbdyh")!=-1)
value1=value1.replace("vbdyh","'");
try                                                                                         
		{                                                                               
			try{                                                                      
			if(document.all[name1].type!="select-one"&&document.all[name1].type!="text"&&document.all[name1].type!="checkbox"&&document.all[name1].type!="radio")                       
			{                                                                         
			document.all[name1].innerHTML=value1;                         
			}                                                                         
			}catch(e3)                                                                
			{}                                                                        
			if(document.all[name1].type=="button"||document.all[name1].type=="submit"||document.all[name1].type=="password"||document.all[name1].type=="text"||document.all[name1].type=="hidden"||document.all[name1].type=="textarea")
			{                                                                     
			document.all[name1].value=value1;                         
			}                                                                     
		                                                                            
			if(document.all[name1].type=="select-one")                    
			{                                                                     
			for(i1=0;i1<document.all[name1].options.length;i1++)            
			{                                                                     
			if(document.all[name1].options[i1].value==value1)         
			document.all[name1].selectedIndex=i1;                           
			}                                                                     
			}                                                                     
			try{               
			var obj=document.all[name1];                                                   
			if(obj[0].type=="radio")                         
			{                                                                     
				                                                                
				for(i2=0;i2<obj.length;i2++)                 
					{                                                         
				if(obj[i2].value==value1)              
				obj[i2].checked=true;                        
				}                                                               
			                                                                      
			}                                                                     
			}catch(e2)                                                            
			{}                                                                    
			                                                                      
			if(document.all[name1].type=="checkbox")                         
			{                                                                     
			if(document.all[name1].value==value1)                     
				{document.all[name1].checked=true;}else{document.all[name1].checked=false;}                         
			}                                                                     
			                                                                      
		}                                                                           
		catch(E1){}                                                                 

}

function gs_getvalue(name1)
{
try                                                                                         
		{     
		//var obj=document.all[name1];
		 //alert(obj[0].type);                                                                             
			                                                                       
			try{
			if(document.all[name1].type=="password"||document.all[name1].type=="text"||document.all[name1].type=="hidden"||document.all[name1].type=="textarea")
			{                                                                     
			return document.all[name1].value;                         
			}                                                                     
		                                                                            
			if(document.all[name1].type=="select-one")                    
			{   
			return  document.all[name1].options[document.all[name1].selectedIndex].value;                                                                 
			                                                                     
			}   
			}catch(e4)
			{}                                                                  
			try{               
			var obj=document.all[name1];
			//alert(obj.type);                                                   
			if(obj[0].type=="radio")                         
			{                                                                     
				                                                            
				for(i2=0;i2<obj.length;i2++)                 
					{                                                         
				if(obj[i2].checked==true)              
				return obj[i2].value;                        
				}                                                               
			                                                                      
			}                                                                     
			}catch(e2)                                                            
			{}                                                                    
			                                                                      
			if(document.all[name1].type=="checkbox")                         
			{                                                                     
			if(document.all[name1].checked==true)                     
				{return document.all[name1].value;}else{return '';}                         
			}                                                                     
			try{                                                                      
			if(document.all[name1].type!="select-one"&&document.all[name1].type!="text"&&document.all[name1].type!="checkbox"&&document.all[name1].type!="radio")                       
			{                                                                         
			return document.all[name1].innerHTML;                         
			}                                                                         
			}catch(e3)                                                                
			{}                                                                       
		}                                                                           
		catch(E1){}                                                                 

}
function gs_open(theURL) {
	var features="scrollbars=yes,width=500,height=500,left=200,top=200,,resizable=yes";
	var winName="";
  window.open(theURL,winName,features);
}
</script>
<script language="javascript">

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function updown(obj,e)
{
	//alert("abc");
	//var obj1=obj;
	//alert(e.keyCode);
	if(e.keyCode==38)
	obj.value=obj.value*1+1;
	if(e.keyCode==40)
	obj.value=obj.value*1-1;
	
}
var old;
function select_row(obj_s)
{
	if(old)
	{
		old.bgColor="#ffffff";
	}
	obj_s.bgColor="#EBF278";
	old=obj_s;
}
try{
parent.bottomFrame.document.all.lwait.style.display="none";
}catch(e)
{}
try{
parent.parent.bottomFrame.document.all.lwait.style.display="none";
}catch(e)
{}

</script>
  <body onload="javascript:try{init();}catch(e){}">
<noscript><iframe></iframe></noscript>
  <%
  String userIp=request.getRemoteAddr();
  %>